'Declaration
Public Function FillIfEmpty( _ ByVal index As Integer, _ ByVal length As Integer, _ ByVal value As T _ ) As Integer
'Usage
Dim instance As IntervalArray(Of T) Dim index As Integer Dim length As Integer Dim value As T Dim value As Integer value = instance.FillIfEmpty(index, length, value)
Parameters
- index
- The start index of range.
- length
- The length of range.
- value
- The value to fill.
Return Value
An System.Int32 value represents the total numbers of element has been filled.